package com.qili.entity.supervisor;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author: zhaoyongke
 * @create: 2024-11-02 10:48
 * @description: 模版文件上传
 */

@Table(name = "t_mb_file")
@Data
@ToString
@EqualsAndHashCode
@Component
public class TmbFile {


    @Id
    @Column(name = "id")
    private String id;

    /**
     * 文件名称
     */
    @OrderBy
    @Column(name = "file_name")
    private String fileName;

    /**
     * 文件类型 .png   .dox 等
     */
    @Column(name = "file_type")
    private String fileType;

    /**
     * 文件类型  1 监理文 2 城建
     */
    @Column(name = "type")
    private String type;




    @Column(name = "create_date")
    private Date createDate;

    /**
     * 创建人id
     */

    @Column(name = "create_by")
    private String createBy;

    /**
     * 项目路径
     */
    @Column(name = "url")
    private String url;






    @Column(name="remark")
    private String remark;




    private static final long serialVersionUID = 1L;





}
